import service from '@/utils/request'
// eslint-disable-next-line no-unused-vars
const { httpPostForm, httpPost, httpGet } = service

const request = {
    /* ---------------------------------------设备总账------------------------------------ */
    // 设备总账-集团层
    getGroupCompany(params) {
        return httpPost({
            url: '/reportEquipmentGroup/getGroupCompany',
            params,
        })
    },
    // 设备总账-分子公司层
    getConstituentCompany(params) {
        return httpPost({
            url: '/reportEquipmentGroup/getConstituentCompany',
            params,
        })
    },
    // 设备总账-项目层
    getProjectCompany(params) {
        return httpPost({
            url: '/reportEquipmentGroup/getProjectCompany',
            params,
        })
    },
    /* -----------------------------------固定资产统计表---------------------------------------- */
    // 固定资产统计表-集团层
    getGroupFixedCompany(params) {
        return httpPost({
            url: '/reportFixedAssetsDetailed/getGroupCompany',
            params,
        })
    },
    // 固定资产统计表-分子公司
    getConstituentFixedAssets(params) {
        return httpPost({
            url: '/reportFixedAssetsDetailed/getConstituentFixedAssets',
            params,
        })
    },
    /* -----------------------------------闲置设备统计表---------------------------------------- */
    // 闲置设备统计表-集团层
    idleEquipmentGroup(params) {
        return httpPost({
            url: '/reportIdleEquipmentDetailed/idleEquipmentGroup',
            params,
        })
    },
    // 闲置设备统计表-分子公司层
    idleEquipmentCompany(params) {
        return httpPost({
            url: 'reportIdleEquipmentDetailed/idleEquipmentCompany',
            params,
        })
    },
    /* -----------------------------------设备采购统计表---------------------------------------- */
    // 设备采购统计表-集团层
    getReportEquipmentGroup(params) {
        return httpPost({
            url: '/reportEquipmentProcurementDel/getReportEquipmentGroup',
            params,
        })
    },
    // 设备采购统计表-分子公司
    reportEquipmentProcurementCompany(params) {
        return httpPost({
            url: 'reportEquipmentProcurementDel/reportEquipmentProcurementCompany',
            params,
        })
    },
    /* -----------------------------------设备报废统计表---------------------------------------- */
    // 设备报废统计表-集团层
    getReportEquipmentScrapGroup(params) {
        return httpPost({
            url: '/reportEquipmentScrapDel/getReportEquipmentScrapGroup',
            params,
        })
    },
    // 设备报废统计表-分子公司层
    reportEquipmentScrapDelCompany(params) {
        return httpPost({
            url: '/reportEquipmentScrapDel/reportEquipmentScrapDelCompany',
            params,
        })
    },
    /* -----------------------------------事故统计表---------------------------------------- */
    // 事故统计表-集团层
    getReportEquipmentAccidentGroup(params) {
        return httpPost({
            url: '/reportEquipmentAccidentDel/getReportEquipmentAccidentGroup',
            params,
        })
    },
    // 事故统计表-分子公司
    getReportEquipmentAccidentCompanies(params) {
        return httpPost({
            url: '/reportEquipmentAccidentDel/getReportEquipmentAccidentCompanies',
            params,
        })
    },
    // 事故统计表-项目层
    reportEquipmentAccidentDelDepartment(params) {
        return httpPost({
            url: '/reportEquipmentAccidentDel/reportEquipmentAccidentDelDepartment',
            params,
        })
    },
    /* -----------------------------------单机（车）核算汇总统计表---------------------------------------- */
    // 单机（车）核算汇总统计表-集团层
    reportEquipmentSvaDelGroup(params) {
        return httpPost({
            url: '/reportEquipmentSvaDel/reportEquipmentSvaDelGroup',
            params,
        })
    },
    // 单机（车）核算汇总统计表-分子公司层
    reportEquipmentSvaDelCompany(params) {
        return httpPost({
            url: '/reportEquipmentSvaDel/reportEquipmentSvaDelCompany',
            params,
        })
    },
    /* -----------------------------------工程项目设备统计表---------------------------------------- */
    // 工程项目设备统计表-集团层
    getGroupEquipmentCompany(params) {
        return httpPost({
            url: '/reportEquipmentEpDel/getGroupCompany',
            params,
        })
    },
    // 工程项目设备统计表-分子公司层
    getConstituentEquipmentCompany(params) {
        return httpPost({
            url: '/reportEquipmentEpDel/getConstituentCompany',
            params,
        })
    },
    // 工程项目设备统计表-分子公司层
    getProjectEquipmentCompany(params) {
        return httpPost({
            url: '/reportEquipmentEpDel/getProjectCompany',
            params,
        })
    },

    /* ----------------- 特种设备统计表 -------------------*/
    // 特种设备统计表-集团、分子公司
    getEquipmentSpecial(params) {
        return httpGet({
            url: '/equipmentSpecial/getEquipmentSpecial', // 路径
            params, // 传参
        })
    },
    // 特种设备统计表-项目层
    getEquipmentSpecialDetails(params) {
        return httpGet({
            url: '/equipmentSpecial/getEquipmentSpecialDetails', // 路径
            params, // 传参
        })
    },
    /* ----------------- 工程项目外协设备统计表 -------------------*/
    // 工程项目外协设备-集团、分公司
    getEquipmentExternal(params) {
        return httpGet({
            url: '/equipmentExternal/getEquipmentExternal', // 路径
            params, // 传参
        })
    },
    // 工程项目外协设备-项目层
    getEquipmentExternalDetails(params) {
        return httpGet({
            url: '/equipmentExternal/getEquipmentExternalDetails', // 路径
            params, // 传参
        })
    },
    /* ----------------- 设备动态统计表 -------------------*/
    // 设备动态统计表-集团、分子公司层
    getEquipmentDynamic(params) {
        return httpGet({
            url: '/equipmentDynamic/getEquipmentDynamic', // 路径
            params, // 传参
        })
    },
    // 设备动态统计表-项目层
    getEquipmentDynamicDetails(params) {
        return httpGet({
            url: '/equipmentDynamic/getEquipmentDynamicDetails', // 路径
            params, // 传参
        })
    },
    /* ----------------- 单机（车）成本统计简表 -------------------*/
    // 单机（车）成本统计简表-项目层
    getEquipmentLightEngineCost(params) {
        return httpGet({
            url: '/equipmentLightEngineCost/getEquipmentLightEngineCost', // 路径
            params,
        })
    },
    /* ----------------- 设备施工费用统计表 -------------------*/
    //  设备施工费用统计表-集团、分子公司
    getEquipmentConstructionCost(params) {
        return httpGet({
            url: '/equipmentConstructionCost/getEquipmentConstructionCost', // 路径
            params,
        })
    },
    //  设备施工费用统计表-项目层
    getEquipmentConstructionCostDetails(params) {
        return httpGet({
            url: '/equipmentConstructionCost/getEquipmentConstructionCostDetails', // 路径
            params,
        })
    },
    /* ----------------- 设备消耗扣款台账 -------------------*/
    //  设备消耗扣款台账-集团、分子公司
    getEquipmentConsume(params) {
        return httpGet({
            url: '/equipmentConsume/getEquipmentConsume', // 路径
            params,
        })
    },
    //  设备消耗扣款台账-项目层
    getEquipmentConsumeDetails(params) {
        return httpGet({
            url: '/equipmentConsume/getEquipmentConsumeDetails', // 路径
            params,
        })
    },
    //  设备消耗扣款台账-分包商
    getEquipmentConsumeSubDetails(params) {
        return httpGet({
            url: '/equipmentConsume/getEquipmentConsumeSubDetails', // 路径
            params,
        })
    },
    /* ----------------- 设备费用账册 -------------------*/
    // 设备费用账册-集团、分公司
    getEquipmentCost(params) {
        return httpGet({
            url: '/equipmentCost/getEquipmentCost', // 路径
            params,
        })
    },
    // 设备费用账册-项目层
    getEquipmentCostDetails(params) {
        return httpGet({
            url: '/equipmentCost/getEquipmentCostDetails', // 路径
            params, // 传参
        })
    },
    // 设备费用账册-设备型号详情
    getEquipmentCostNumberDetails(params) {
        return httpGet({
            url: '/equipmentCost/getEquipmentCostNumberDetails', // 路径
            params,
        })
    },
}

export default request
